IApi.WriteAxisCustomOutput2 method

Writes a value into the second custom output variable you added in IntervalZeroDevices database or UserDevices database, in which you can use KINGSTAR ESI Import Tool to add two custom output variables.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsError WriteAxisCustomOutput2(
       int Index,
       uint Value
)
Function WriteAxisCustomOutput2(
       Index As Integer,
       Value As UInteger
) As KsError

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

Value

Type: uint

The value to be written into the second custom output variable.

Return value

Type: KsError

A return code of a method.

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

IApi Interface

IntervalZero.KINGSTAR.Base.Api Namespace